package com.hdoit.ares.logical.policy.dao;

import java.util.List;

import com.hdoit.ares.logical.policy.model.ListPolicy;
import com.hdoit.ares.logical.viewmodel.policy.ListPolicySearch;
import com.tennetcn.common.dao.base.ISuperDao;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年01月18日 00:52:02
 * @comment
 */
public interface IListPolicyDao extends ISuperDao<ListPolicy>{
	//前台
	public List<ListPolicy> queryAllAccidentPolicy(String customerId);
	
	public List<ListPolicy> queryAllCarPolicy(String customerId);
	
	public ListPolicy queryFanhuaAccident(String customerId, String oid);
	
	public ListPolicy queryZhonganAccident(String customerId, String oid);
	
	public ListPolicy queryFanhuaAccidentDetail(String oid);
	
	public ListPolicy queryZhonganAccidentDetail(String oid);
	
	public ListPolicy queryFanhuaCarDetail(String oid);
	
	public ListPolicy queryZhonganCarDetail(String oid);
	
	//后台
	public List<ListPolicy> queryList(ListPolicySearch search,PagerModel pagerModel);
	
	//查询用户本周出单数
	public int queryCountWeekPolicys(String customerId);
		
	//查询用户本月出单数
	public int queryCountMonthPolicys(String customerId);
	
}